package com.dly.hope.servce;

import com.dly.hope.dto.EmailFileDto;
import com.dly.hope.dto.EmailSendDto;

import java.io.File;
import java.util.List;
import java.util.concurrent.CompletableFuture;

/**
 * @author linyu.dai
 * @project myserve
 * @description 邮件发送接口
 * @creat 2022/8/28 10:47:28
 */
public interface EmailService {
    /**
     * @Author linyu.dai
     * @Description 发送邮件， 接收人,抄送人,标题,内容主题,附件
     * @Date 2022/8/28 16:42
     * @Param [emailToList, ccList, subject, mailText, fileList]
     * @return void
     */
    void sendEmail(EmailSendDto emailSendDto);
}
